* {
    margin: 0;
    padding: 0;
}

body, form, div {
	margin: 0;
	padding: 0;
	font-family: verdana,tahoma,helvetica;
	font-size: 11px;
}

body {
    margin: 0 auto;
    width: 1010px;
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.75);
}

img {
    border: 0;
}

a {
    text-decoration: none;
    color: <?= $css['link_color'] ?>; 
    cursor: pointer;        
}
a:hover {
    text-decoration:underline;
}
   /*
body {
    width: 1000px; 
    margin: 0 auto;
}
     */
table {
    border-spacing:0;
    border-collapse:collapse;
}/*cellspacing=0*/
td {
    padding:0px;
    padding-bottom: 3px;
}/*cellpadding=0*/


.message_box {
	display: table;        
	background: <?= $css['bg_dialog'] ?>;
	border: 1px solid <?= $css['border_main'] ?>;
	padding: 5px;
    position: relative;
    margin-left: auto;
    margin-right: auto;      
}

.body_box {
    display:block;
    width:800px;
    background: <?= $css['bg_dialog'] ?>;
    border: 1px solid <?= $css['border_main'] ?>;
    padding: 5px;
    position: relative;
    margin-left: auto;
    margin-right: auto;
}                            

.error_box {
    background-color:#FFF7F4;
    border:1px solid #C12929;
    color:#2B2B2B;
    padding:5px;
    width: 50%;
    position:absolute;
    z-index: 999;
    left: 25%;
    top: 30%;
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.75);
}

.error_box ul {
    list-style: inside url('images/note_icon.gif');
}

.info_box {
    background-color:#E2FFE1;      
    border:1px solid #057C0E;
    color:#2B2B2B;
    font-size: 1.5em;
    padding:5px;
    width: 30%;
    position:absolute;
    z-index: 999;
    left: 35%;
    top: 30%;
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.75);
}

.msg_bg {
    background:none repeat scroll 0 0 #AEC2C6;
    bottom:0;
    right:0; 
    width:9999px;
    height:1999px;
    position:fixed;
    z-index:5;
    opacity:0.5;
    display: none;
}

.msg_close {
    cursor: pointer;
}

.redir_box {
    display: block;
    background: <?= $css['bg_dialog'] ?>;
    border: 1px solid <?= $css['border_main'] ?>;
    padding: 5px;
    margin:10px auto;
    width: 300px; 
    text-align: center;
}

.redir_box h3 {
    font-size: 1.6em;
    border-bottom: solid 1px #808000;
    font-family: 'Trebuchet MS',Arial,Verdana,Sans-Serif; 
}

.main_box {
	/*clear: both; */
    background: <?= $css['bg_main'] ?>;
	border: 1px solid <?= $css['border_main'] ?>;
	padding: 10px;
    position: relative;
}

#bottom {
    color: #666666;
    font-size: 95%;
}

.menu_box {
	float: left;
	display: table;
	background: <?= $css['bg_dialog'] ?>;
	border: 1px solid <?= $css['border_main'] ?>;
	padding: 5px;
}

.container {
	display: table;
	/*border-spacing: 4px;*/
    padding: 0px;
    margin: 0px;
}
.row {
	display: table-row;
}
/*
.cell {
	display: table-cell;
	border: 1px solid #0033FF;
	background-color: #00CCFF;
	white-space:nowrap;
	vertical-align:top;
}
*/
.cell {
    display: table-cell;
    border: 0px;
/*    white-space:nowrap;*/
    vertical-align:top;
}
.cell-center {
	display: table-cell;
	border: 1px solid #0033FF;
	background-color: #00CCFF;
	text-align: center;
	white-space:nowrap;
	vertical-align:middle;
}
.footer {
	display: table-footer-group;
}
.header {
	display: table-header-group;
	font-weight: bold;
	white-space:nowrap;
	text-align: center;
}

.wish_link {
    border: none;
    background-color: <?= $css['bg_main'] ?>;
    color: <?= $css['link_color'] ?>;
    width: 200px;
}

.input-text, .input-text-link, input {
	color: <?= $css['input_text'] ?>;
	border: 1px solid <?= $css['input_border'] ?>;
	vertical-align: top;
	font-weight: normal;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
    margin: 1px;
    padding:0 3px;
}

.input-text.inactive {
    color: #cdc;
}

.input-text-link {
	cursor: pointer;
	color: blue;
	text-decoration:underline;
	text-align: center;
	background-color: #CCCCFF;
}

/* presents >>>*/  

#but a {
    padding: 0 3px;
}

#but a:link, #but a:visited {
	color: #000066;
	background-color: #CCCCCC;
	border: thin solid #333333;
	font-size:14px;
	text-decoration: none;
}
#but a:hover {
	background-color: #888888;
	color: #fff;
}
#but a:active {
	color:red;
}

#but {
    cursor: pointer;
}


.set_right {
    color: #666666;
    font-size: 95%;  
    position: absolute;
    right: 10px;
    top: 5px;
}

.present_head {
    padding: 5px;
    cursor: pointer;
    position: relative;
}

.present_head cite {
    font-size: 100%;
    font-weight: bold;
    font-style: normal;
}
     /*
.pr_name {
    width: 100%;
}

.pr_date {
   
}
   */
.present_list {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 383px;
    z-index: 500;
    position: relative;
 /*   border-top: solid 1px <?= $css['pr_bord_color'] ?>;*/
}

.present_list li {
    padding: 0;
    margin: 0;
 /*   background: url(images/present-bar.gif) no-repeat;*/
    border: solid 1px <?= $css['pr_bord_color'] ?>;
 /*   border-top: none;*/
    background: #e9e7e7;
}

/*
.present_list li.user_in_list {
    border: none;
    background: none;
}          */

.present_list li:hover {
    background-color: #e3e2e2;
}                                          
.present_list li#new { 
    text-align: center;
    color: #0000FF;
}
.present_list li.active {
    border-right: 0px;
    background-color: <?= $css['pr_bg_color'] ?>;
}

.present_list_empty {
    font-weight: bold;
    color: gray;
}

.present_desc {
  /*  border: 1px solid #AAAAAA; */
    width: 406px;
  /*  height: 490px;  
    position: absolute;*/
    right: 0px;
    top: 0px;
    bottom: 0px;
    padding: 5px;
}

.present_desc h3 {
    font-size: 1.6em;
    border-bottom: solid 1px #808000;
    font-family: 'Trebuchet MS',Arial,Verdana,Sans-Serif;
    margin-bottom: 5px;
}

.present_desc .desc_body {
    margin: 10px;
}

.present_desc.active {
    background-color: <?= $css['pr_bg_color'] ?>;
    border: solid 1px <?= $css['pr_bord_color'] ?>;
    margin-left: -1px;
    min-height: 200px;
  /*  border-left: 0px; */
}

/*<<< presents */

#loading {
    position:absolute;
    z-index: 999;
    background: url(images/loading.gif) no-repeat;
    left: 50%;
    top: 30%;
    margin-top: -50px;
    margin-left: -100px;
    width: 220px;
    height: 19px;
    text-align: center;
    display: none;
}
         
#hidden {
    display: none;
}
     /*
.hint {
    font-weight: normal;
    background: url(images/hover.png) no-repeat;
    width: 180px;
    height: 45px;
    position: absolute;
    top: -85px;
    left: -15px;
    text-align: center;
    padding: 20px 12px 10px;
    font-style: normal;
    z-index: 2;
    display: none;
}
  */
#tooltip {
    background-color: #FFFF80;
    border:1px solid <?= $css['border_main'] ?>;
    opacity:0.85;
    padding:5px;
    position:absolute;
    font-size: 0.8em;
    z-index:3000;
}

.ev_date {
    padding-right:15px;
    white-space:nowrap;
    font-size:1.8em;
    vertical-align:middle; 
}

.ev_name {
    font-weight: bold;
    border-bottom: 1px solid #C0C0C0; 
}

.give_btn {
    text-align: center;
   /* float: left;*/
    border: 1px solid <?= $css['give_btn_brd'] ?>;
    background-color: <?= $css['give_btn_bg'] ?>;
    padding: 10px;
    cursor: pointer;
  /*  margin-right: 10px;*/
}
           /*
.give_btn#give_btn {
    cursor: pointer;
}
      */
.give_btn:hover {
    background-color: #FFF7AE; 
}

.desc_btn {
    /*display: table;
    margin-left:auto;*/
    margin-right: -10px;
    margin-top: -5px;
    padding: 3px; 
    float: left;
    background-color: <?= $css['bg_main'] ?>;
    border: 1px solid <?= $css['menu_hover_brd'] ?>;
}
.desc_btn.active {
    background-color: #808000;
}
.desc_btn:hover {
    background-color: <?= $css['menu_hover_bg'] ?>;
    cursor: pointer;
}

.give_btn.gived {
    border: 1px solid #008000;
    background-color: #00FF00;
    cursor: default;
}

.give_btn.error {
    border: 1px solid #000000;
    background-color: #D0D0D0;
    cursor: default;
}

.give_form {
    position:absolute;
    z-index: 999;
 /*   left: 50%;
    top: 30%;   */
    width: 200px;
   /* height: 100px;
    margin-left: -100px;*/
    padding: 10px;
    text-align: center;
    border: 1px solid <?= $css['give_btn_brd'] ?>;
    background-color: <?= $css['give_btn_bg'] ?>;
    display: none;
}

.give_form p {
    margin: 5px;
}

.gift_can {
    border: 1px solid #C0C0C0;
    background-color: #E0E0E0;
}

.menu {
    list-style: none;
    margin: 0 15px 0 0;
    padding: 0;
  /*  width: 135px; */
  /*  border-bottom: solid 1px <?= $css['pr_bord_color'] ?>;  */
}
.menu li {
    padding: 0;
    margin: 0;
 /*   background: url(images/present-bar.gif) no-repeat;*/
 /*   border: solid 1px <?= $css['pr_bord_color'] ?>;
    border-bottom: none;    
    background: #e9e7e7;    */
    font-weight: bold;
    white-space: nowrap;
}
.menu li:hover {
    background-color: <?= $css['menu_hover_bg'] ?>;
}                                          
.menu li.active {
    border-right: 0px;
    background-color: <?= $css['pr_bg_color'] ?>;
}
.menu #sub {
    font-weight: normal;
    padding-left: 10px;
}

.menu label {
    background: url(images/help.png) no-repeat;
}

.menu label:hover {
    background: url(images/help2.png) no-repeat;
}

.menu li font {
    color: gray;
    font-family: sans-serif;
    font-size: 0.7em;
}

#hr {
    margin: 3px 0;
    border: 0px;
    border-bottom: solid 1px <?= $css['border_main'] ?>;
}

.navigator {
    display: table;
    margin: 0 auto;
    white-space: nowrap;
    font-size:1.3em;
}
.navigator a#active {
    font-weight: bold;
    cursor: default;
    color: black;
}

.arrow {
    font-family:"Times New Roman",Times,serif;
    font-size:1.5em;
}
/*
.breadcrumb {
    color: gray;
    margin-bottom: 5px;
}
  */
.user_info {
    margin-bottom: 10px;
    margin-right: 10px;
    overflow:hidden;
    text-align:center;
   /* width:140px;  */
}

.edit_link {
    float:right;
    margin-top: -20px;
}

.desc_info {
    border: 1px solid <?= $css['border_main'] ?>;
    background-color: <?= $css['bg_main'] ?>;
    padding:25px 5px 5px;
    margin-top: -5px;
    margin-right: -10px;
    display: none;
}

.desc_info ol {
    list-style: none;
    border: 1px solid #C0C0C0;
    margin-bottom: 5px; 
}

.desc_info ol li {
    padding: 0;
    margin: 0;
}

.desc_info #sub {
    padding: 5px 5px 5px 10px;
}
.desc_info #sub:hover {
    background-color: <?= $css['menu_hover_bg'] ?>;
}
.desc_info #sub p {
    font-size: 0.8em;
    margin-top:3px;
}
.desc_info #sub img {
    cursor: pointer;
 /*   margin-left: 10px;*/
    margin-bottom: -3px;
}

.desc_info #sub div {
    float: right;
    color: gray;
    font-size: 0.8em;
/*    position:relative;
    top:-15px;    */
}


#ajax_form p {
    margin-bottom: 10px;
}

#ajax_form label {
    font-weight: bold;
}

.link_btn {
    cursor: pointer;
    font-size: 0.8em;
}

.link_btn img {
    margin-bottom: -3px;
}

/*
.how_to {
    width: 600px;
    margin-left: auto;
    margin-right: auto;
    color:#2B2B2B;
    list-style: none; 
}
.how_to div {
    height: 80px;
    padding:5px 5px 5px 80px;
    font-size: 1.4em; 
} 
.how_to #how1 {
    background: url(images/how_1.png) no-repeat;       
}
.how_to #how2 {
    background: url(images/how_2.png) no-repeat;       
}
.how_to #how3 {
    background: url(images/how_3.png) no-repeat;       
}
.how_to #how4 {
    background: url(images/how_4.png) no-repeat;       
}
.how_to #how5 {
    background: url(images/how_5.png) no-repeat;       
}
.how_to span {
    color:#969696;  
    font-size: 0.9em;
}
*/

/* nicEdit */
.nicEdit-main {
        background-color: #fff !important;
}

/* Блок копирования ссылки */
#share_block {
    width: 300px; 
    margin-right: -250px; 
    position: relative; 
    float:right;
}
 
/* Главная страница */
.home {
    width: 600px;
    margin-left: auto;
    margin-right: auto;
    color:#2B2B2B;
    background: url(images/question.png) no-repeat;
    padding:5px 5px 5px 80px;
}
.home h2 {
    color: #aaaaaa;
}
.home p {
    padding: 20px 20px 20px 100px;
}
.home ul {
    list-style: none;
    padding-left: 100px; 
}
.home li {
    background: url(images/arrow_right.png) no-repeat;
    padding-left: 30px;
    padding-top: 4px;
    height: 20px;
}
.home a {
    font-weight: bold;
}
